//
//  NewsCollectionView.h
//  News
//
//  Created by Han on 15-4-15.
//  Copyright (c) 2015年 IPingLun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CHTCollectionViewWaterfallLayout.h"
#import "Config.h"
#import "WaterfallCell.h"
#import "NewsPresenter.h"
#import "NewsDetailViewController.h"
#import "WaterfallFooter.h"

@protocol NewsViewDelegate;

@interface NewsCollectionView : UICollectionView <UICollectionViewDataSource, CHTCollectionViewDelegateWaterfallLayout, NewsPresenterDelegate>


@property(nonatomic, weak) id <NewsViewDelegate> newsViewDelegate;
@property(nonatomic, assign) int channelId;

- (void) fristLoadData;

@end


@protocol NewsViewDelegate

- (void)jumpToDetail:(int)newsId;

@end
